package de.hska.reka.websockets.Parser;

public class JsonRpcPackage {
	private String method;
	private Object[] params;
	private String id;

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Object[] getParams() {
		if(this.params==null) {
			return new Object[0];
		}
		return params;
	}

	public void setParams(Object[] params) {
		this.params = params;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
